package com.dao;

import com.bean.Goods;
import com.bean.Orders;
import com.bean.Role;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {

    Long selectByUserIdAndRoleId(@Param("user") User user, @Param("role") Role role);

    Integer insert(Long userId,Long roleId);

    Integer deleteBatch(List<Long> userOrderIdList);

}
